<template>
  <div id="app">
    <nav>
      <router-link to="/">待办清单</router-link>
      <router-link to="/about">关于</router-link>
    </nav>
    <router-view/>
  </div>
</template>

<style>
#app {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  background: linear-gradient(135deg, #f6d5f7 0%, #fbe9d7 100%);
  background-attachment: fixed;
}

nav {
  padding: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

nav a {
  font-weight: bold;
  color: #409EFF;
  text-decoration: none;
  margin: 0 15px;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover {
  color: #66b1ff;
}

nav a.router-link-exact-active {
  background: #409EFF;
  color: white;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

/* 添加全局动画效果 */
.page-enter-active,
.page-leave-active {
  transition: opacity 0.3s ease;
}

.page-enter,
.page-leave-to {
  opacity: 0;
}
</style>
